/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package limousine.util;

import java.io.File;

/**
 *
 * @author Tailer
 */
public class Config {

    //DIR
    public static String DIR_CONTENT_ROOT = File.separator+"MRTA_CONTENT"+File.separator;
    public static final String DIR_IMAGE = "IMAGE";
    public static final String DIR_DOCUMENT = "DOCUMENT";
    public static final String DIR_GNOSTIC = "GNOSTIC";
    public static final String DIR_MEDIA = "MEDIA";
    //public static final String DIR_USERS = "USERS";
    public static final String DIR_TMP = "TMP";

    //EMAIL
    public static final String MAIL_FORM = "kmadmin@mrta.co.th";
    public static final String MAIL_SUBJECT_ACTIVE = "MRTA Knowledge Center:Activate new user";
    public static final String MAIL_SUBJECT_APPROVE_POST = "MRTA Knowledge Center:please approve post";
    public static final String MAIL_SUBJECT_APPROVE_REPLY = "MRTA Knowledge Center:please approve reply";
    public static final String MAIL_SUBJECT_NEW_PASSWORD = "MRTA Knowledge Center:New password";
    public static final String MAIL_SUBJECT_APPROVE_BLOG_COMMENT = "MRTA Knowledge Center:please approve blog comment";
    public static final String MAIL_SUBJECT_APPROVE_ARTICLE = "MRTA Knowledge Center:please approve article";
    public static final String MAIL_SUBJECT_APPROVE_CASE_STUDIES = "MRTA Knowledge Center:please approve case studies";
    public static final String MAIL_SUBJECT_APPROVE_NEWS = "MRTA Knowledge Center:please approve news";
    public static final String MAIL_SUBJECT_APPROVE_GNOSTIC_FILE = "MRTA Knowledge Center:please approve file";
    public static final String MAIL_SUBJECT_APPROVE_GNOSTIC_DIR = "MRTA Knowledge Center:please approve directory";
    public static final String MAIL_SUBJECT_APPROVE_REQUEST_DELETE = "MRTA Knowledge Center:please approve request delete";

    //ROLE ID FIX in DB
    public static final int ROLE_SUPER_ADMIN = 1;
    public static final int ROLE_ADMIN = 2;
    public static final int ROLE_SUPER_USER = 3;
    public static final int ROLE_USER = 4;
    public static final int ROLE_MEMBER = 5;

    public static final int[] ROLE_APPROVE_ID_LIST = {
        ROLE_SUPER_ADMIN,ROLE_ADMIN
    };

    //USERS STATUS
    public static final int USER_STATUS_OFFLINE = 0;
    public static final int USER_STATUS_ONLINE = 1;
        
    
    //IMG TYPE
    public static final int IMG_TYPE_NORMAL = 0;
    public static final int IMG_TYPE_PREVIEW = 1;

    public static final String[] IMG_TYPE_LIST = {
        IMG_TYPE_NORMAL+":Normal",
        IMG_TYPE_PREVIEW+":Preview"
    };
    //
    public static final int REQUEST_TYPE_DELETE = 0;
    public static final int REQUEST_TYPE_APPROVE = 1;

    public static final String[] UPLOAD_TABLE_ID_LIST = {
        ":News",
        ":Article",
        ":Case Studies",
        ":E-Library",
        ":Webboard",
        ":Blog"
    };
   
}
